package com.paradogs.gs.modules.role.msg;

import com.baidu.bjf.remoting.protobuf.annotation.ProtobufClass;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;

/**
 * @author: yumi
 * @date: 2025/4/19  13:33
 * @Description: TODO
 */
@Data
@ProtobufClass
@AllArgsConstructor
@NoArgsConstructor
public class CGInitRole {

    // 角色名
    @NotNull
    @Length(min = 1, max = 7)
    private String nickName;
    // 性别 1男 2女
    @Range(min = 1, max = 2)
    private Integer sex;

}
